package com.irdstudio.efp.esb.service.bo.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.annotation.JSONPOJOBuilder;
import com.alibaba.fastjson.annotation.JSONType;

@JSONType(builder = ShieldRiskDecisionQueryReports.Builder.class)
public class ShieldRiskDecisionQueryReports implements ZXQueryReports {
    //	接口标识
    private String IntfInd;
    //	密钥序号
    private String HistId;
    //	主交易序列号
    private String MainTxnSrlNo;


    @JSONField(name = "IntfInd")
    public String getIntfInd() {
        return IntfInd;
    }

    @JSONField(name = "IntfInd")
    public void setIntfInd(String intfInd) {
        IntfInd = intfInd;
    }

    @JSONField(name = "HistId")
    public String getHistId() {
        return HistId;
    }

    @JSONField(name = "HistId")
    public void setHistId(String histId) {
        HistId = histId;
    }

    @JSONField(name = "MainTxnSrlNo")
    public String getMainTxnSrlNo() {
        return MainTxnSrlNo;
    }

    @JSONField(name = "MainTxnSrlNo")
    public void setMainTxnSrlNo(String mainTxnSrlNo) {
        MainTxnSrlNo = mainTxnSrlNo;
    }

    @JSONPOJOBuilder(buildMethod = "build", withPrefix = "with")
    public static class Builder {
        private ShieldRiskDecisionQueryReports buildWith;

        public Builder withIntfInd(String val) {
            buildWith.IntfInd = val;
            return this;
        }
        public Builder withMainTxnSrlNo(String val) {
            buildWith.MainTxnSrlNo = val;
            return this;
        }

        public Builder buildWithExists(ShieldRiskDecisionQueryReports exists) {
            buildWith = exists;
            return this;
        }

        public ShieldRiskDecisionQueryReports build() {
            return buildWith;
        }

        public Builder() {
            buildWith = new ShieldRiskDecisionQueryReports();
        }
    }
}
